<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo," />










<meta name="description" content="首先，简单讲一下hexo+github(gitee)搭建的过程,这里是个重点奥，记好笔记，我建议大家将hexo同时上传到github和gitee的仓库中，国内用gitee,国际用github。 正文开始了奥前期准备1.安装node.js(12版本的lts，安装14版本我当时出现了本地不能推到远端的问题),安装成功后要配置环境变量。2.安装git(这个东西用起来真的是太方便了，相比cmd之下)3.在">
<meta property="og:type" content="article">
<meta property="og:title" content="Hexo+github(gitee)搭建博客简单教程(win10版)">
<meta property="og:url" content="http://yoursite.com/2020/05/12/Hexo+github(gitee)%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E7%AE%80%E5%8D%95%E6%95%99%E7%A8%8B(win10%E7%89%88)/index.html">
<meta property="og:site_name" content="LuckyJianNing">
<meta property="og:description" content="首先，简单讲一下hexo+github(gitee)搭建的过程,这里是个重点奥，记好笔记，我建议大家将hexo同时上传到github和gitee的仓库中，国内用gitee,国际用github。 正文开始了奥前期准备1.安装node.js(12版本的lts，安装14版本我当时出现了本地不能推到远端的问题),安装成功后要配置环境变量。2.安装git(这个东西用起来真的是太方便了，相比cmd之下)3.在">
<meta property="og:image" content="https://img-blog.csdnimg.cn/20200512183325738.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1NjU3OTg2,size_16,color_FFFFFF,t_70#pic_center">
<meta property="article:published_time" content="2020-05-12T10:00:04.000Z">
<meta property="article:modified_time" content="2020-05-13T02:37:12.000Z">
<meta property="article:author" content="Force-9">
<meta property="article:tag" content="Hexo">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://img-blog.csdnimg.cn/20200512183325738.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1NjU3OTg2,size_16,color_FFFFFF,t_70#pic_center">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/2020/05/12/Hexo+github(gitee)搭建博客简单教程(win10版)/"/>





  <title>Hexo+github(gitee)搭建博客简单教程(win10版) | LuckyJianNing</title>
  








<meta name="generator" content="Hexo 4.2.0"></head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">LuckyJianNing</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br />
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/05/12/Hexo+github(gitee)%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E7%AE%80%E5%8D%95%E6%95%99%E7%A8%8B(win10%E7%89%88)/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Force-9">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avator.png">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="LuckyJianNing">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">Hexo+github(gitee)搭建博客简单教程(win10版)</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-05-12T18:00:04+08:00">
                2020-05-12
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/%E6%95%99%E7%A8%8B/" itemprop="url" rel="index">
                    <span itemprop="name">教程</span>
                  </a>
                </span>

                
                
              
            </span>
          

          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      
        <div class="post-gallery" itemscope itemtype="http://schema.org/ImageGallery">
          
          
            <div class="post-gallery-row">
              <a class="post-gallery-img fancybox"
                 href="https://img-blog.csdnimg.cn/20200512183325738.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1NjU3OTg2,size_16,color_FFFFFF,t_70#pic_center" rel="gallery_ckc7ediki0006swu9f29w998x"
                 itemscope itemtype="http://schema.org/ImageObject" itemprop="url">
                <img src="https://img-blog.csdnimg.cn/20200512183325738.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1NjU3OTg2,size_16,color_FFFFFF,t_70#pic_center" itemprop="contentUrl"/>
              </a>
            
          

          
          </div>
        </div>
      

      
        <p>首先，简单讲一下hexo+github(gitee)搭建的过程,这里是个重点奥，记好笔记，我建议大家将hexo同时上传到github和gitee的仓库中，国内用gitee,国际用github。</p>
<h2 id="正文开始了奥"><a href="#正文开始了奥" class="headerlink" title="正文开始了奥"></a>正文开始了奥</h2><h3 id="前期准备"><a href="#前期准备" class="headerlink" title="前期准备"></a>前期准备</h3><p>1.安装node.js(12版本的lts，安装14版本我当时出现了本地不能推到远端的问题),安装成功后要配置环境变量。<br>2.安装git(这个东西用起来真的是太方便了，相比cmd之下)<br>3.在git Bush下</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">npm -v</span><br><span class="line">node -v</span><br></pre></td></tr></table></figure>
<p>可以检测你所下载的npm，node的版本<br>4.别的教程会告诉你安装cnpm会快些，我觉得不用，我测试了一下，两者的速度差不多。(不是重点看看就行🤣)<br>5.运行git bush，初始化你的git,执行命令</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git config -global user.name “github上注册的用户名”</span><br><span class="line">git config -global user.email “github用户邮箱”</span><br></pre></td></tr></table></figure>
<p>修改的话，也可以直接用上面的命令<br>查看你的用户名和邮箱用</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">git config user.name</span><br><span class="line">git config user.email</span><br></pre></td></tr></table></figure>

<h3 id="安装Hexo"><a href="#安装Hexo" class="headerlink" title="安装Hexo"></a>安装Hexo</h3><p>1.在git bush 下执行<code>npm install -g hexo -cli</code>命令来安装hexo。<br>2.我们需要建一个文件夹名字随意命名，例如blog。<br>3.我们在blog文件夹内运行git bush并且执行<code>hexo init</code>来初始化hexo，然后我们就会看到blog 文件夹中多出了很多东西。例如_config.yml 等。<br>4.我们紧接着写命令<code>npm intall</code>为了在github上clone npm的源码包。<br>5.此时先<code>hexo g</code>(生成)再次<code>hexo s</code>(测试)，我们打开浏览器在网址栏中打上<a href="http://localhost:4000就可以看到我们最基本的博客框架(这个只是本地的，还没有推到远端)">http://localhost:4000就可以看到我们最基本的博客框架(这个只是本地的，还没有推到远端)</a></p>
<h3 id="注册账户"><a href="#注册账户" class="headerlink" title="注册账户"></a>注册账户</h3><p>这里有个小细节，划重点(这一步里面，有的教程会让你建ssh公钥，没必要，我们直接通过repo就可以推远端了,ssh公钥配置的话需要关闭防火墙等等操作，要不然会被拦截)</p>
<h4 id="注册github-国际"><a href="#注册github-国际" class="headerlink" title="注册github(国际)"></a>注册github(国际)</h4><p>1.进入github官网(github.com)，先注册(不注册怎么搞仓库)<br>2.建仓库，在你页面的左上角new repository(对了，没错，这就是新建仓库)<br>3.进来我们在仓库名称里填写自己用户名➕github.io，例如：xxxxx. github.io(这里是重点，小细节，错了就没了，对，没了)，注释随便写没关系的<br>4.点击create repository 创建成功。</p>
<h4 id="注册gitee-码云-国内"><a href="#注册gitee-码云-国内" class="headerlink" title="注册gitee(码云)(国内)"></a>注册gitee(码云)(国内)</h4><p>1.一样啦，先进官网，注册！<br>2.右上角菜单栏里的小’➕‘，它的菜单项中的第一个新建项目，点它，对没错，点它！<br>3.仓库的名称没有那么github那么苛刻了，你可以随意写(但是之后你生成的网页就是二级域名,我感觉是不容易记住,有钱买域名就当我没说)最好还是写的和用户名相同。<br>4.创建就ok啦</p>
<h3 id="将hexo推送到远端"><a href="#将hexo推送到远端" class="headerlink" title="将hexo推送到远端"></a>将hexo推送到远端</h3><p>1.我们回到你当初所建文件夹的目录下，将_config.yml文件用记事本打开。<br>2.修改最后一个deploy下的东西<br>deploy：<br>  type: git<br>  repo: (你所建仓库给的https)<br>  branch: master<br>  这里你想往哪个仓库里推，你的repo就填哪个仓库的https。（这里也有一个小细节奥，你所有config文件中’:‘后的空格不能少)</p>
<p>giee截图<br><img src="https://img-blog.csdnimg.cn/20200511161029429.jpeg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1NjU3OTg2,size_16,color_FFFFFF,t_70" alt="gitee截图"></p>
<p>github截图<br><img src="https://img-blog.csdnimg.cn/20200511161303397.jpeg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1NjU3OTg2,size_16,color_FFFFFF,t_70" alt="在这里插入图片描述"><br>3.在文件夹中git bush输入命令<code>hexo clean</code>来清除缓存，再<code>hexo g</code>&amp;&amp;<code>hexo d</code>，我们就可以在<a href="http://xxxxx.github.io上看到我们的博客最初的框架。(第一次推的话，系统会弹出窗口让你填写github的用户名和密码。填错了不要担心，进入控制面板找到凭据管理器，在里面找到github可以修改)" target="_blank" rel="noopener">http://xxxxx.github.io上看到我们的博客最初的框架。(第一次推的话，系统会弹出窗口让你填写github的用户名和密码。填错了不要担心，进入控制面板找到凭据管理器，在里面找到github可以修改)</a><br>4.gitee每推一次远端都需要在“服务-git page”中更新一次。gitee更新完之后会显示你的博客网址。(小细节，划重点)<br>5.我建议两个仓库都推一遍。国际的用github,国内用gitee，毕竟gitee是国内的，速度相比之下会更快些。</p>
<h3 id="更新主题"><a href="#更新主题" class="headerlink" title="更新主题"></a>更新主题</h3><p>1.想必大家看到自己的bolg上原始的主题都会觉得low到爆，我们可以在hexo-theme上去找符合自己审美的主题，还可以通过参观别人家blog，引用别人家blog的主题。</p>
<h3 id="注意事项"><a href="#注意事项" class="headerlink" title="注意事项"></a>注意事项</h3><p>大家如果在某一步做错了，请不要担心，咱直接可以把所建文件夹干掉重来就好，大家在做的时候一定要有耐心。</p>

      
    </div>
    
    
    

<div>
      
        ﻿
<div class="my_post_copyright">
  <script src="//cdn.bootcss.com/clipboard.js/1.5.10/clipboard.min.js"></script>
  
  <!-- JS库 sweetalert 可修改路径 -->
  <script src="https://cdn.bootcss.com/jquery/2.0.0/jquery.min.js"></script>
  <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
  <p><span>本文标题:</span><a href="/2020/05/12/Hexo+github(gitee)%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E7%AE%80%E5%8D%95%E6%95%99%E7%A8%8B(win10%E7%89%88)/">Hexo+github(gitee)搭建博客简单教程(win10版)</a></p>
  <p><span>文章作者:</span><a href="/" title="访问 Force-9 的个人博客">Force-9</a></p>
  <p><span>发布时间:</span>2020年05月12日 - 18:05</p>
  <p><span>最后更新:</span>2020年05月13日 - 10:05</p>
  <p><span>原始链接:</span><a href="/2020/05/12/Hexo+github(gitee)%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E7%AE%80%E5%8D%95%E6%95%99%E7%A8%8B(win10%E7%89%88)/" title="Hexo+github(gitee)搭建博客简单教程(win10版)">http://yoursite.com/2020/05/12/Hexo+github(gitee)%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E7%AE%80%E5%8D%95%E6%95%99%E7%A8%8B(win10%E7%89%88)/</a>
    <span class="copy-path"  title="点击复制文章链接"><i class="fa fa-clipboard" data-clipboard-text="http://yoursite.com/2020/05/12/Hexo+github(gitee)%E6%90%AD%E5%BB%BA%E5%8D%9A%E5%AE%A2%E7%AE%80%E5%8D%95%E6%95%99%E7%A8%8B(win10%E7%89%88)/"  aria-label="复制成功！"></i></span>
  </p>
  <p><span>许可协议:</span><i class="fa fa-creative-commons"></i> <a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank" title="Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)">署名-非商业性使用-禁止演绎 4.0 国际</a> 转载请保留原文链接及作者。</p>  
</div>
<script> 
    var clipboard = new Clipboard('.fa-clipboard');
	  $(".fa-clipboard").click(function(){
      clipboard.on('success', function(){
        swal({   
          title: "",   
          text: '复制成功',
          icon: "success", 
          showConfirmButton: true
          });
	    });
    });  
</script>


      
</div>

    

    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/Hexo/" rel="tag"># Hexo</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2020/05/12/hello-world/" rel="next" title="Hello World">
                <i class="fa fa-chevron-left"></i> Hello World
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2020/05/13/%E6%B2%B9%E7%8C%B4%EF%BC%88Tampermonkey%EF%BC%89%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B/" rel="prev" title="油猴（Tampermonkey）使用教程">
                油猴（Tampermonkey）使用教程 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
        <!-- JiaThis Button BEGIN -->
<div class="jiathis_style">
<span class="jiathis_txt">分享到：</span>
<a class="jiathis_button_fav">收藏夹</a>
<a class="jiathis_button_copy">复制网址</a>
<a class="jiathis_button_email">邮件</a>
<a class="jiathis_button_weixin">微信</a>
<a class="jiathis_button_qzone">QQ空间</a>
<a class="jiathis_button_tqq">腾讯微博</a>
<a class="jiathis_button_douban">豆瓣</a>
<a class="jiathis_button_share">一键分享</a>

<a href="http://www.jiathis.com/share?uid=2140465" class="jiathis jiathis_txt jiathis_separator jtico jtico_jiathis" target="_blank">更多</a>
<a class="jiathis_counter_style"></a>
</div>
<script type="text/javascript" >
var jiathis_config={
  data_track_clickback:true,
  summary:"",
  shortUrl:false,
  hideMore:false
}
</script>
<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=" charset="utf-8"></script>
<!-- JiaThis Button END -->
      
    </div>
  </div>


          </div>
          


          

        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="/images/avator.png"
                alt="Force-9" />
            
              <p class="site-author-name" itemprop="name">Force-9</p>
              <p class="site-description motion-element" itemprop="description">世间万物，唯有美食与爱不可辜负。</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">11</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">2</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">5</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/LuckyJianNing" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="mailto:1134285596@qq.com" target="_blank" title="E-Mail">
                      
                        <i class="fa fa-fw fa-envelope-square"></i>E-Mail</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://twitter.com" target="_blank" title="Twitter">
                      
                        <i class="fa fa-fw fa-twitter"></i>Twitter</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="1134285596" target="_blank" title="QQ">
                      
                        <i class="fa fa-fw fa-qq"></i>QQ</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://me.csdn.net/qq_45657986" target="_blank" title="CSDN">
                      
                        <i class="fa fa-fw fa-book"></i>CSDN</a>
                  </span>
                
            </div>
          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#正文开始了奥"><span class="nav-number">1.</span> <span class="nav-text">正文开始了奥</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#前期准备"><span class="nav-number">1.1.</span> <span class="nav-text">前期准备</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#安装Hexo"><span class="nav-number">1.2.</span> <span class="nav-text">安装Hexo</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#注册账户"><span class="nav-number">1.3.</span> <span class="nav-text">注册账户</span></a><ol class="nav-child"><li class="nav-item nav-level-4"><a class="nav-link" href="#注册github-国际"><span class="nav-number">1.3.1.</span> <span class="nav-text">注册github(国际)</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#注册gitee-码云-国内"><span class="nav-number">1.3.2.</span> <span class="nav-text">注册gitee(码云)(国内)</span></a></li></ol></li><li class="nav-item nav-level-3"><a class="nav-link" href="#将hexo推送到远端"><span class="nav-number">1.4.</span> <span class="nav-text">将hexo推送到远端</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#更新主题"><span class="nav-number">1.5.</span> <span class="nav-text">更新主题</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#注意事项"><span class="nav-number">1.6.</span> <span class="nav-text">注意事项</span></a></li></ol></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        ﻿<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="powered-by">
<i class="fa fa-user-md"></i><span id="busuanzi_container_site_uv">
  本站访客数:<span id="busuanzi_value_site_uv"></span>
</span>
</div>

<div class="copyright">&copy; <span itemprop="copyrightYear">2020</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Force-9</span>

  
</div>

<!--
  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>
-->



<div class="theme-info">
  <div class="powered-by"></div>
  <span class="post-count">博客全站共4.7k字</span>
</div>

        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  











  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  

  
  
    <script type="text/javascript" src="/lib/canvas-nest/canvas-nest.min.js"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
